using System.ComponentModel.DataAnnotations;

namespace AIoTGateway_UI.Data.Models;

public class Workshop
{
    [Key]
    public int Id { get; set; }
    
    [Required]
    [MaxLength(100)]
    public string Name { get; set; } = string.Empty;
    
    [MaxLength(200)]
    public string Address { get; set; } = string.Empty;
    
    [MaxLength(500)]
    public string Description { get; set; } = string.Empty;
    
    [MaxLength(500)]
    public string Remarks { get; set; } = string.Empty;
}